<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>所有用户</title>
  </head>
  
  <body>
    所有用户<br/>
    <table border="1">
    	<tr>
    		<td>编号</td>
    		<td>用户名</td>
    		<td>密码</td>
    		<td>操作</td>
    	</tr>
    	<c:forEach var="list"  items="${addLists}">
    	<tr>
    		<td>${list.id}</td>
    		<td>${list.userName}</td>
    		<td>${list.pwd}</td>
    		<td><a href="inquiry.do?id=${list.id}">更新</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="delete.do?id=${list.id}">删除</a></td>
    	</tr>
    	</c:forEach> 
    </table>
    <a href="addTo.do">增加用户</a>
  </body>
</html>
